package com.peng.herostory.util;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

public final class RedisUtil {
    private static JedisPool jedisPool = new JedisPool("127.0.0.1", 6379);

    public static Jedis getRedis() {
        return jedisPool.getResource();
    }

}
